package com.ukao.cashregister.bean;

import com.ukao.cashregister.utils.CheckUtils;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ukaodev on 2017/6/28.
 */

public class UserInfoBean extends  BaseBean<UserInfoBean>  implements Serializable {
        /**
         * user : {"ext":{"id":1,"poInteger":1,"payAmt":0,"payCnt":3,"balance":2,"orderLastTime":null,"mail":null,"birthday":"2017-03-01","regionalId":null,"regionalDesc":null,"addressDesc":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":1498216421000},"tagList":[{"relId":9,"userTag":{"id":5,"mercId":1,"cityId":1,"name":"新客户赠送券","cnt":1,"createBy":1,"createTime":1495771977000,"updateBy":9,"updateTime":1496715983000}}],"couponCnt":0,"storeList":[{"id":19,"mercId":1,"cityId":1,"name":"再添加门店","code":"30306468","regionalId":310404,"regionalDesc":"上海徐汇徐汇区","addrDesc":"的奋斗","longitude":"","latitude":"","tel":"18777554447","status":1,"workId":44,"createBy":8,"createTime":1497257930000,"updateBy":8,"updateTime":1497836189000},{"id":1,"mercId":1,"cityId":1,"name":"麓谷门店修改了","code":"28213096","regionalId":4301,"regionalDesc":null,"addrDesc":"湖南省长沙市岳麓区","longitude":null,"latitude":null,"tel":"123456789","status":0,"workId":8,"createBy":1,"createTime":1494985971000,"updateBy":8,"updateTime":1496650268000}],"card":{"no":"NO9920121","relId":1,"info":{"id":1,"mercId":1,"cityId":-1,"name":"普通会员卡","coverType":1,"imgPath":"#60be4e","giftPoInteger":10,"poIntegerRatio":1,"rights":"1101","discount":50,"level":1,"remark":"普通会员卡使用须知","payAmt":null,"payCnt":null,"poInteger":null,"userCnt":null,"status":0,"createBy":null,"createTime":null,"updateBy":8,"updateTime":1497690662000}},"info":{"id":1,"mercId":1,"name":"孙岩风","sex":1,"phone":"15103173399","wxId":-1,"wxNickname":null,"headimgPath":"http://wx.qlogo.cn/mmopen/VLCDoCTqQUC0NkDQGgO98WicPaB6ic0BwMXs5urt5piaXssTExnl1UI1kNUd6Wv5dU7xYP78SM1x9E2tllJibciaEV7TStLx6Dwtv/0","status":1,"verifyPhone":1,"verifyIos":1,"verifyAndriod":1,"origin":1,"subscribe":2,"createBy":1,"createTime":1495766166000,"updateBy":null,"updateTime":1498216398000},"group":{"id":-1,"mercId":null,"cityId":null,"name":"默认分组","cnt":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null}}
         */

        private  String   searchValue;
        private UserBean user;


        public String getSearchValue() {
            return searchValue;
        }

        public void setSearchValue(String searchValue) {
            this.searchValue = searchValue;
        }

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }


        public static class UserBean extends BaseBean<UserBean>  implements Serializable {
            /**
             * ext : {"id":1,"poInteger":1,"payAmt":0,"payCnt":3,"balance":2,"orderLastTime":null,"mail":null,"birthday":"2017-03-01","regionalId":null,"regionalDesc":null,"addressDesc":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":1498216421000}
             * tagList : [{"relId":9,"userTag":{"id":5,"mercId":1,"cityId":1,"name":"新客户赠送券","cnt":1,"createBy":1,"createTime":1495771977000,"updateBy":9,"updateTime":1496715983000}}]
             * couponCnt : 0
             * storeList : [{"id":19,"mercId":1,"cityId":1,"name":"再添加门店","code":"30306468","regionalId":310404,"regionalDesc":"上海徐汇徐汇区","addrDesc":"的奋斗","longitude":"","latitude":"","tel":"18777554447","status":1,"workId":44,"createBy":8,"createTime":1497257930000,"updateBy":8,"updateTime":1497836189000},{"id":1,"mercId":1,"cityId":1,"name":"麓谷门店修改了","code":"28213096","regionalId":4301,"regionalDesc":null,"addrDesc":"湖南省长沙市岳麓区","longitude":null,"latitude":null,"tel":"123456789","status":0,"workId":8,"createBy":1,"createTime":1494985971000,"updateBy":8,"updateTime":1496650268000}]
             * card : {"no":"NO9920121","relId":1,"info":{"id":1,"mercId":1,"cityId":-1,"name":"普通会员卡","coverType":1,"imgPath":"#60be4e","giftPoInteger":10,"poIntegerRatio":1,"rights":"1101","discount":50,"level":1,"remark":"普通会员卡使用须知","payAmt":null,"payCnt":null,"poInteger":null,"userCnt":null,"status":0,"createBy":null,"createTime":null,"updateBy":8,"updateTime":1497690662000}}
             * info : {"id":1,"mercId":1,"name":"孙岩风","sex":1,"phone":"15103173399","wxId":-1,"wxNickname":null,"headimgPath":"http://wx.qlogo.cn/mmopen/VLCDoCTqQUC0NkDQGgO98WicPaB6ic0BwMXs5urt5piaXssTExnl1UI1kNUd6Wv5dU7xYP78SM1x9E2tllJibciaEV7TStLx6Dwtv/0","status":1,"verifyPhone":1,"verifyIos":1,"verifyAndriod":1,"origin":1,"subscribe":2,"createBy":1,"createTime":1495766166000,"updateBy":null,"updateTime":1498216398000}
             * group : {"id":-1,"mercId":null,"cityId":null,"name":"默认分组","cnt":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null}
             */


            private ExtBean ext;
            private String couponCnt;
            private CardBean card;
            private InfoBeanX info;
            private GroupBean group;
            private UnionInfoBean unionInfo;
            private List<TagListBean> tagList;
            private List<StoreListBean> storeList;
            public UnionInfoBean getUnionInfo() {
                return unionInfo;
            }

            public void setUnionInfo(UnionInfoBean unionInfo) {
                this.unionInfo = unionInfo;
            }

            public ExtBean getExt() {
                return ext;
            }

            public void setExt(ExtBean ext) {
                this.ext = ext;
            }

            public String getCouponCnt() {
                return couponCnt;
            }

            public void setCouponCnt(String couponCnt) {
                this.couponCnt = couponCnt;
            }

            public CardBean getCard() {
                return card;
            }

            public void setCard(CardBean card) {
                this.card = card;
            }

            public InfoBeanX getInfo() {
                return info;
            }

            public void setInfo(InfoBeanX info) {
                this.info = info;
            }

            public GroupBean getGroup() {
                return group;
            }

            public void setGroup(GroupBean group) {
                this.group = group;
            }

            public List<TagListBean> getTagList() {
                return tagList;
            }

            public void setTagList(List<TagListBean> tagList) {
                this.tagList = tagList;
            }

            public List<StoreListBean> getStoreList() {
                return storeList;
            }

            public void setStoreList(List<StoreListBean> storeList) {
                this.storeList = storeList;
            }

            public static class ExtBean implements Serializable {
                /**
                 * id : 1
                 * poInteger : 1
                 * payAmt : 0
                 * payCnt : 3
                 * balance : 2
                 * orderLastTime : null
                 * mail : null
                 * birthday : 2017-03-01
                 * regionalId : null
                 * regionalDesc : null
                 * addressDesc : null
                 * createBy : null
                 * createTime : null
                 * updateBy : null
                 * updateTime : 1498216421000
                 */

                private int id;
                private int point;
                private int payAmt;
                private int payCnt;
                private int balance;
                private Object orderLastTime;
                private Object mail;
                private String birthday;
                private Object regionalId;
                private Object regionalDesc;
                private Object addressDesc;
                private Object createBy;
                private Object createTime;
                private Object updateBy;
                private long updateTime;

                public Integer getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getPoint() {
                    return CheckUtils.isEmptyNullNumber(point);
                }

                public void setPoint(int poInteger) {
                    this.point = poInteger;
                }

                public int getPayAmt() {
                    return payAmt;
                }

                public void setPayAmt(int payAmt) {
                    this.payAmt = payAmt;
                }

                public int getPayCnt() {
                    return payCnt;
                }

                public void setPayCnt(int payCnt) {
                    this.payCnt = payCnt;
                }

                public int getBalance() {
                    return balance;
                }

                public void setBalance(int balance) {
                    this.balance = balance;
                }

                public Object getOrderLastTime() {
                    return orderLastTime;
                }

                public void setOrderLastTime(Object orderLastTime) {
                    this.orderLastTime = orderLastTime;
                }

                public Object getMail() {
                    return mail;
                }

                public void setMail(Object mail) {
                    this.mail = mail;
                }

                public String getBirthday() {
                    return birthday;
                }

                public void setBirthday(String birthday) {
                    this.birthday = birthday;
                }

                public Object getRegionalId() {
                    return regionalId;
                }

                public void setRegionalId(Object regionalId) {
                    this.regionalId = regionalId;
                }

                public Object getRegionalDesc() {
                    return regionalDesc;
                }

                public void setRegionalDesc(Object regionalDesc) {
                    this.regionalDesc = regionalDesc;
                }

                public Object getAddressDesc() {
                    return addressDesc;
                }

                public void setAddressDesc(Object addressDesc) {
                    this.addressDesc = addressDesc;
                }

                public Object getCreateBy() {
                    return createBy;
                }

                public void setCreateBy(Object createBy) {
                    this.createBy = createBy;
                }

                public Object getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(Object createTime) {
                    this.createTime = createTime;
                }

                public Object getUpdateBy() {
                    return updateBy;
                }

                public void setUpdateBy(Object updateBy) {
                    this.updateBy = updateBy;
                }

                public long getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(long updateTime) {
                    this.updateTime = updateTime;
                }
            }
            public static class UnionInfoBean implements Serializable {
                /**
                 * id : 19
                 * mercId : 1
                 * cityId : 1
                 * name : 不允许享受1
                 * cardId : null
                 * saleType : 1
                 * withActive : 1
                 * receiveCoupon : 0
                 * remark :
                 * status : 1
                 * createBy : 1
                 * createTime : 1526884927000
                 * updateBy : 1
                 * updateTime : 1527318773000
                 */
                private int id;
                private int mercId;
                private int cityId;
                private String name;
                private Object cardId;
                private int saleType;
                private int withActive;
                private int receiveCoupon;
                private String remark;


                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getMercId() {
                    return mercId;
                }

                public void setMercId(int mercId) {
                    this.mercId = mercId;
                }

                public int getCityId() {
                    return cityId;
                }

                public void setCityId(int cityId) {
                    this.cityId = cityId;
                }

                public String getName() {
                    return CheckUtils.isEmptyString(name);
                }

                public void setName(String name) {
                    this.name = name;
                }

                public Object getCardId() {
                    return cardId;
                }

                public void setCardId(Object cardId) {
                    this.cardId = cardId;
                }

                public int getSaleType() {
                    return saleType;
                }

                public void setSaleType(int saleType) {
                    this.saleType = saleType;
                }

                public int getWithActive() {
                    return withActive;
                }

                public void setWithActive(int withActive) {
                    this.withActive = withActive;
                }

                public int getReceiveCoupon() {
                    return receiveCoupon;
                }

                public void setReceiveCoupon(int receiveCoupon) {
                    this.receiveCoupon = receiveCoupon;
                }

                public String getRemark() {
                    return remark;
                }

                public void setRemark(String remark) {
                    this.remark = remark;
                }

            }


            public static class CardBean implements Serializable {
                /**
                 * no : NO9920121
                 * relId : 1
                 * info : {"id":1,"mercId":1,"cityId":-1,"name":"普通会员卡","coverType":1,"imgPath":"#60be4e","giftPoInteger":10,"poIntegerRatio":1,"rights":"1101","discount":50,"level":1,"remark":"普通会员卡使用须知","payAmt":null,"payCnt":null,"poInteger":null,"userCnt":null,"status":0,"createBy":null,"createTime":null,"updateBy":8,"updateTime":1497690662000}
                 */


                private  String  rfidNo;
                private String no;
                private  int  isBinding;
                private int relId;
                private InfoBean info;


                public void setRfidNo(String rfidNo) {
                    this.rfidNo = rfidNo;
                }

                public boolean getIsBinding() {
                    boolean  isBindings=false;
                    if (isBinding==1){/*绑定*/
                        isBindings=true;
                    }
                    return isBindings;
                }

                public  int   getbing( ){
                    return isBinding;
                }

                public void setIsBinding(boolean isBindings) {
                    if (isBindings){
                        this.isBinding=1;
                    }else{
                        this.isBinding=0;
                    }

                }

                public String getNo() {
                    return rfidNo;
                }

                public void setNo(String no) {
                    this.rfidNo = no;
                }

                public int getRelId() {
                    return relId;
                }

                public void setRelId(int relId) {
                    this.relId = relId;
                }

                public InfoBean getInfo() {
                    return info;
                }

                public void setInfo(InfoBean info) {
                    this.info = info;
                }

                public static class InfoBean implements Serializable {
                    /**
                     * id : 1
                     * mercId : 1
                     * cityId : -1
                     * name : 普通会员卡
                     * coverType : 1
                     * imgPath : #60be4e
                     * giftPoInteger : 10
                     * poIntegerRatio : 1
                     * rights : 1101
                     * discount : 50
                     * level : 1
                     * remark : 普通会员卡使用须知
                     * payAmt : null
                     * payCnt : null
                     * poInteger : null
                     * userCnt : null
                     * status : 0
                     * createBy : null
                     * createTime : null
                     * updateBy : 8
                     * updateTime : 1497690662000
                     */

                    private int id;
                    private int mercId;
                    private int cityId;
                    private String name;
                    private int coverType;
                    private String imgPath;
                    private int giftPoInteger;
                    private int poIntegerRatio;
                    private String rights;
                    private int discount;
                    private  int discountType;
                    private int level;
                    private String remark;
                    private Object payAmt;
                    private Object payCnt;
                    private Object poInteger;
                    private Object userCnt;
                    private int status;
                    private Object createBy;
                    private Object createTime;
                    private int updateBy;
                    private long updateTime;

                    public Integer getId() {
                        return id;
                    }

                    public void setId(int id) {
                        this.id = id;
                    }

                    public int getMercId() {
                        return mercId;
                    }

                    public void setMercId(int mercId) {
                        this.mercId = mercId;
                    }

                    public int getCityId() {
                        return cityId;
                    }

                    public void setCityId(int cityId) {
                        this.cityId = cityId;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public int getCoverType() {
                        return coverType;
                    }

                    public void setCoverType(int coverType) {
                        this.coverType = coverType;
                    }

                    public String getImgPath() {
                        return imgPath;
                    }

                    public void setImgPath(String imgPath) {
                        this.imgPath = imgPath;
                    }

                    public int getGiftPoInteger() {
                        return giftPoInteger;
                    }

                    public void setGiftPoInteger(Integer giftPoInteger) {
                        this.giftPoInteger = giftPoInteger;
                    }

                    public Integer getPoIntegerRatio() {
                        return poIntegerRatio;
                    }

                    public void setPoIntegerRatio(Integer poIntegerRatio) {
                        this.poIntegerRatio = poIntegerRatio;
                    }

                    public String getRights() {
                        return rights;
                    }

                    public void setRights(String rights) {
                        this.rights = rights;
                    }

                    public String getDiscount() {



                        return   CheckUtils.isDiscount(discount,discountType);
                    }

                    public void setDiscount(int discount) {
                        this.discount = discount;
                    }

                    public int getLevel() {
                        return level;
                    }

                    public void setLevel(int level) {
                        this.level = level;
                    }

                    public String getRemark() {
                        return remark;
                    }

                    public void setRemark(String remark) {
                        this.remark = remark;
                    }

                    public Object getPayAmt() {
                        return payAmt;
                    }

                    public void setPayAmt(Object payAmt) {
                        this.payAmt = payAmt;
                    }

                    public Object getPayCnt() {
                        return payCnt;
                    }

                    public void setPayCnt(Object payCnt) {
                        this.payCnt = payCnt;
                    }

                    public Object getPoInteger() {
                        return poInteger;
                    }

                    public void setPoInteger(Object poInteger) {
                        this.poInteger = poInteger;
                    }

                    public Object getUserCnt() {
                        return userCnt;
                    }

                    public void setUserCnt(Object userCnt) {
                        this.userCnt = userCnt;
                    }

                    public int getStatus() {
                        return status;
                    }

                    public void setStatus(int status) {
                        this.status = status;
                    }

                    public Object getCreateBy() {
                        return createBy;
                    }

                    public void setCreateBy(Object createBy) {
                        this.createBy = createBy;
                    }

                    public Object getCreateTime() {
                        return createTime;
                    }

                    public void setCreateTime(Object createTime) {
                        this.createTime = createTime;
                    }

                    public int getUpdateBy() {
                        return updateBy;
                    }

                    public void setUpdateBy(int updateBy) {
                        this.updateBy = updateBy;
                    }

                    public long getUpdateTime() {
                        return updateTime;
                    }

                    public void setUpdateTime(long updateTime) {
                        this.updateTime = updateTime;
                    }
                }
            }

            public static class InfoBeanX implements Serializable {
                /**
                 * id : 1
                 * mercId : 1
                 * name : 孙岩风
                 * sex : 1
                 * phone : 15103173399
                 * wxId : -1
                 * wxNickname : null
                 * headimgPath : http://wx.qlogo.cn/mmopen/VLCDoCTqQUC0NkDQGgO98WicPaB6ic0BwMXs5urt5piaXssTExnl1UI1kNUd6Wv5dU7xYP78SM1x9E2tllJibciaEV7TStLx6Dwtv/0
                 * status : 1
                 * verifyPhone : 1
                 * verifyIos : 1
                 * verifyAndriod : 1
                 * origin : 1
                 * subscribe : 2
                 * createBy : 1
                 * createTime : 1495766166000
                 * updateBy : null
                 * updateTime : 1498216398000
                 */

                private String id;
                private int mercId;
                private String name;
                private int sex;
                private String phone;
                private int wxId;
                private String wxNickname;
                private String headimgPath;
                private int status;
                private int verifyPhone;
                private int verifyIos;
                private int verifyAndriod;
                private int origin;
                private int subscribe;
                private int createBy;
                private long createTime;
                private Object updateBy;
                private long updateTime;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public int getMercId() {
                    return mercId;
                }

                public void setMercId(int mercId) {
                    this.mercId = mercId;
                }

                public String getName() {
                    return CheckUtils.isEmptyString(name);
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getSex() {
                  if (CheckUtils.isNull(sex)){
                      sex=0;
                  }
                    String msex = "";
                    switch (sex) {
                        case 1:
                            msex = "男";
                            break;
                        case 2:
                            msex = "女";
                            break;
                        case 0:
                            msex = "未知";
                            break;


                    }
                    return msex;
                }


                public void setSex(int sex) {
                    this.sex = sex;
                }

                public String getPhone() {
                    return phone;
                }

                public void setPhone(String phone) {
                    this.phone = phone;
                }

                public int getWxId() {

                    return wxId;
                }

                public void setWxId(int wxId) {
                    this.wxId = wxId;
                }

                public String getWxNickname() {
                    return wxNickname;
                }

                public void setWxNickname(String wxNickname) {
                    this.wxNickname = wxNickname;
                }

                public String getHeadimgPath() {
                    return headimgPath;
                }

                public void setHeadimgPath(String headimgPath) {
                    this.headimgPath = headimgPath;
                }

                public int getStatus() {
                    return status;
                }

                public void setStatus(int status) {
                    this.status = status;
                }

                public int getVerifyPhone() {
                    return verifyPhone;
                }

                public void setVerifyPhone(int verifyPhone) {
                    this.verifyPhone = verifyPhone;
                }

                public int getVerifyIos() {
                    return verifyIos;
                }

                public void setVerifyIos(int verifyIos) {
                    this.verifyIos = verifyIos;
                }

                public int getVerifyAndriod() {
                    return verifyAndriod;
                }

                public void setVerifyAndriod(int verifyAndriod) {
                    this.verifyAndriod = verifyAndriod;
                }

                public int getOrigin() {
                    return origin;
                }

                public void setOrigin(int origin) {
                    this.origin = origin;
                }

                public boolean getSubscribe() {
                    boolean ishow = false;
                    if (subscribe == -1) {
                        ishow = true;
                    }
                    return ishow;

                }

                public void setSubscribe(int subscribe) {
                    this.subscribe = subscribe;
                }

                public int getCreateBy() {
                    return createBy;
                }

                public void setCreateBy(int createBy) {
                    this.createBy = createBy;
                }

                public long getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(long createTime) {
                    this.createTime = createTime;
                }

                public Object getUpdateBy() {
                    return updateBy;
                }

                public void setUpdateBy(Object updateBy) {
                    this.updateBy = updateBy;
                }

                public long getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(long updateTime) {
                    this.updateTime = updateTime;
                }
            }

            public static class GroupBean implements Serializable {
                /**
                 * id : -1
                 * mercId : null
                 * cityId : null
                 * name : 默认分组
                 * cnt : null
                 * createBy : null
                 * createTime : null
                 * updateBy : null
                 * updateTime : null
                 */

                private int id;
                private Object mercId;
                private Object cityId;
                private String name;
                private Object cnt;
                private Object createBy;
                private Object createTime;
                private Object updateBy;
                private Object updateTime;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public Object getMercId() {
                    return mercId;
                }

                public void setMercId(Object mercId) {
                    this.mercId = mercId;
                }

                public Object getCityId() {
                    return cityId;
                }

                public void setCityId(Object cityId) {
                    this.cityId = cityId;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public Object getCnt() {
                    return cnt;
                }

                public void setCnt(Object cnt) {
                    this.cnt = cnt;
                }

                public Object getCreateBy() {
                    return createBy;
                }

                public void setCreateBy(Object createBy) {
                    this.createBy = createBy;
                }

                public Object getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(Object createTime) {
                    this.createTime = createTime;
                }

                public Object getUpdateBy() {
                    return updateBy;
                }

                public void setUpdateBy(Object updateBy) {
                    this.updateBy = updateBy;
                }

                public Object getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(Object updateTime) {
                    this.updateTime = updateTime;
                }
            }

            public static class TagListBean implements Serializable {
                /**
                 * relId : 9
                 * userTag : {"id":5,"mercId":1,"cityId":1,"name":"新客户赠送券","cnt":1,"createBy":1,"createTime":1495771977000,"updateBy":9,"updateTime":1496715983000}
                 */

                private int relId;
                private UserTagBean userTag;

                public int getRelId() {
                    return relId;
                }

                public void setRelId(int relId) {
                    this.relId = relId;
                }

                public UserTagBean getUserTag() {
                    return userTag;
                }

                public void setUserTag(UserTagBean userTag) {
                    this.userTag = userTag;
                }

                public static class UserTagBean implements Serializable {
                    /**
                     * id : 5
                     * mercId : 1
                     * cityId : 1
                     * name : 新客户赠送券
                     * cnt : 1
                     * createBy : 1
                     * createTime : 1495771977000
                     * updateBy : 9
                     * updateTime : 1496715983000
                     */

                    private int id;
                    private int mercId;
                    private int cityId;
                    private String name;
                    private int cnt;
                    private int createBy;
                    private long createTime;
                    private int updateBy;
                    private long updateTime;

                    public int getId() {
                        return id;
                    }

                    public void setId(int id) {
                        this.id = id;
                    }

                    public int getMercId() {
                        return mercId;
                    }

                    public void setMercId(int mercId) {
                        this.mercId = mercId;
                    }

                    public int getCityId() {
                        return cityId;
                    }

                    public void setCityId(int cityId) {
                        this.cityId = cityId;
                    }

                    public String getName() {
                        try {
                            return name;
                        }catch (Exception  e){
                            return "";
                        }


                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public int getCnt() {
                        return cnt;
                    }

                    public void setCnt(int cnt) {
                        this.cnt = cnt;
                    }

                    public int getCreateBy() {
                        return createBy;
                    }

                    public void setCreateBy(int createBy) {
                        this.createBy = createBy;
                    }

                    public long getCreateTime() {
                        return createTime;
                    }

                    public void setCreateTime(long createTime) {
                        this.createTime = createTime;
                    }

                    public int getUpdateBy() {
                        return updateBy;
                    }

                    public void setUpdateBy(int updateBy) {
                        this.updateBy = updateBy;
                    }

                    public long getUpdateTime() {
                        return updateTime;
                    }

                    public void setUpdateTime(long updateTime) {
                        this.updateTime = updateTime;
                    }
                }
            }

            public static class StoreListBean implements Serializable {
                /**
                 * id : 19
                 * mercId : 1
                 * cityId : 1
                 * name : 再添加门店
                 * code : 30306468
                 * regionalId : 310404
                 * regionalDesc : 上海徐汇徐汇区
                 * addrDesc : 的奋斗
                 * longitude :
                 * latitude :
                 * tel : 18777554447
                 * status : 1
                 * workId : 44
                 * createBy : 8
                 * createTime : 1497257930000
                 * updateBy : 8
                 * updateTime : 1497836189000
                 */

                private int id;
                private int mercId;
                private int cityId;
                private String name;
                private String code;
                private int regionalId;
                private String regionalDesc;
                private String addrDesc;
                private String longitude;
                private String latitude;
                private String tel;
                private int status;
                private int workId;
                private int createBy;
                private long createTime;
                private int updateBy;
                private long updateTime;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getMercId() {
                    return mercId;
                }

                public void setMercId(int mercId) {
                    this.mercId = mercId;
                }

                public int getCityId() {
                    return cityId;
                }

                public void setCityId(int cityId) {
                    this.cityId = cityId;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public int getRegionalId() {
                    return regionalId;
                }

                public void setRegionalId(int regionalId) {
                    this.regionalId = regionalId;
                }

                public String getRegionalDesc() {
                    return regionalDesc;
                }

                public void setRegionalDesc(String regionalDesc) {
                    this.regionalDesc = regionalDesc;
                }

                public String getAddrDesc() {
                    return addrDesc;
                }

                public void setAddrDesc(String addrDesc) {
                    this.addrDesc = addrDesc;
                }

                public String getLongitude() {
                    return longitude;
                }

                public void setLongitude(String longitude) {
                    this.longitude = longitude;
                }

                public String getLatitude() {
                    return latitude;
                }

                public void setLatitude(String latitude) {
                    this.latitude = latitude;
                }

                public String getTel() {
                    return tel;
                }

                public void setTel(String tel) {
                    this.tel = tel;
                }

                public int getStatus() {
                    return status;
                }

                public void setStatus(int status) {
                    this.status = status;
                }

                public int getWorkId() {
                    return workId;
                }

                public void setWorkId(int workId) {
                    this.workId = workId;
                }

                public int getCreateBy() {
                    return createBy;
                }

                public void setCreateBy(int createBy) {
                    this.createBy = createBy;
                }

                public long getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(long createTime) {
                    this.createTime = createTime;
                }

                public int getUpdateBy() {
                    return updateBy;
                }

                public void setUpdateBy(int updateBy) {
                    this.updateBy = updateBy;
                }

                public long getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(long updateTime) {
                    this.updateTime = updateTime;
                }
            }
        }


}
